Xdialog Tabbed Controls

Description

Syntax for creating Tabbed controls in an Xdialog.

Name
Description
Genie Style Tabbed Control Syntax

This syntax for displaying a tabbed control starts with an array that defines the names of the different tabs. This approach dynamically builds an embeds dialog boxes for each of the tab pages. This, in turn requires an array of code pages and a function that identifies the current page and builds the appropriate page.

Tabbed Control J Directive

The J directive allows you to position the labels of the tab control on the left, right, bottom, or top (default).

Tabbed Control Methods

The Tabbed Control has the following methods. The tabbed control methods are used with a pointer to the control in the following way: .METHOD(). Refer to Retrieving a Pointer to a Control for techniques for getting a pointer.

Tabbed Control O Directive

The O directive allows you to format the labels of a tab control.

Tabbed Control O Directive {@@} Operator

The {@@} operator is used in a Tab's owner draw (O) directive to specify that the text contains embedded formatting commands. Example

Tabbed Control Properties

The following Tabbed Control properties can be changed at run-time. After any operation that changes the size of the control or placement of the tabs, you should reset the control's height or width, either to the same or a new value, to complete the operation.

Tabbed Control R Directive

The %R% directive specifies the number of rows of tabs for the {TAB} function.

Tabbed Control Syntax

Refer to the {TAB} command.

Tabbed Control Syntax (Genie Style)

This syntax allows you to create a tabbed control that accepts embedded dialogs.